<?xml version="1.0" encoding="UTF-8"?>

<!--
    Document   : SearchFlower.xsl
    Created on : November 3, 2012, 1:44 PM
    Author     : ADMIN
    Description:
        Purpose of transformation follows.
-->

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:template match="/SearchFlower">
    <div id="list-product">
            <xsl:for-each select="Flower">
                <div class="box-product">
                     <div id="img-product">
                             <img style="height:222px; width:175px">
                                <xsl:attribute name="src" >
                                    <xsl:value-of select="'/FlowerShop/'"/>
                                    <xsl:value-of select="Image"/>
                                </xsl:attribute>
                            </img>
                     </div>
                <p class="name-product"><xsl:value-of select="ProductName"/></p>
                <p class="price">Giá: <xsl:value-of select="Price"/> VNĐ</p>
                <a class="btn-addcart"> <xsl:attribute name="href">javascript:AddToCart('<xsl:value-of select="ProductId"/>')</xsl:attribute></a>
                <a class="detail">
                    <xsl:attribute name="href">javascript:DetailFlower('<xsl:value-of select="ProductId"/>')</xsl:attribute>
                Detail</a>
                </div>
            </xsl:for-each>
              </div>
    </xsl:template>
</xsl:stylesheet>
